<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>#ml_current_connections</title>
<hta:application applicationname="current_connections" singleinstance="yes" caption="yes" navigable="yes" innerborder="no" icon="images\speed_hta.ico" /><link rel="stylesheet" type="text/css" href="dialog.css" />
<script type="text/javascript">
   var ml_object = { yes: "#ml_yes", no: "#ml_no", ole_error: "#ml_ole_error",
      prio_lowest: "#ml_lower", prio_low: "#ml_low", prio_normal: "#ml_normal", prio_high: "#ml_high", prio_higher: "#ml_higher"
   };
</script>
<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="dlg_common.js" defer="defer"></script>
<script type="text/javascript" src="text-console.js" defer="defer"></script>
</head>
<body style="overflow: auto" onload="init_console()">
   <div style="padding: 8px 20px" id="pageheader">
      <div id="freeze_button" style="float: right; margin-top: 6px">
         <button onclick="toggle_freeze();">#ml_console_freeze</button>
      </div>
      <div id="continue_button" style="float: right; margin-top: 6px; display: none">
         <button onclick="toggle_freeze();">#ml_console_continue</button>
      </div>
      <h1 style="margin: 0px">#ml_current_connections</h1>
      <div class="help" style="margin: 8px 0px 12px">
         #ml_console_help<br/><br/>
         <a class="blue" href="console.cfhta">#ml_current_connections_standard</a>
      </div>
   </div>
   <hr style="margin: 0px 12px 6px 24px"/>
   <div id="c_box">
    <table id="sorters" cellpadding="0" cellspacing="0" summary="Sorters"><tbody id="sorter_body">
      <tr id="sorter_head">
        <th>
          <div id="s0" style="width: 26px" class="c_not_set" onclick="set_sort(0)"><div class="sorter">prot</div></div>
        </th>
        <th>
          <div id="s1" style="width: 100px" class="c_not_set" onclick="set_sort(1)"><div class="sorter">local</div></div>
        </th>
        <th>
          <div id="s2" style="width: 100px" class="c_not_set" onclick="set_sort(2)"><div class="sorter">remote</div></div>
        </th>
        <th>
          <div id="s3" style="width: 80px" class="c_not_set" onclick="set_sort(3)"><div class="sorter">program</div></div>
        </th>
        <th>
          <div id="s4" style="width: 54px" class="c_not_set" onclick="set_sort(4)"><div class="sorter">l7_prot</div></div>
        </th>
        <th>
          <div id="s5" style="width: 18px" class="c_not_set" onclick="set_sort(5)"><div class="sorter">tx</div></div>
        </th>
        <th>
          <div id="s6" style="width: 18px" class="c_not_set" onclick="set_sort(6)"><div class="sorter">rx</div></div>
        </th>
        <th>
          <div id="s7" style="width: 18px" class="c_not_set" onclick="set_sort(7)"><div class="sorter">tx/s</div></div>
        </th>
        <th>
          <div id="s8" style="width: 18px" class="c_not_set" onclick="set_sort(8)"><div class="sorter">rx/s</div></div>
        </th>
        <th>
          <div id="s9" style="width: 30px" class="c_not_set" onclick="set_sort(9)"><div class="sorter">time</div></div>
        </th>
        <th>
          <div id="s10" style="width: 34px" class="c_not_set" onclick="set_sort(10)"><div class="sorter">class</div></div>
        </th>
      </tr>
    </tbody></table>
  </div>
  <div id ="settings_frame" class="settings_frame">
     <div class="settings_box shadow">
        <h1 style="margin-top: 0px">#ml_console_prio</h1>
         <div class="setting">
           <img style="float: left; margin-left: 4px" id="np_prio" src="images/prio_3.png" alt="#ml_normal"/>
           <span class="smalltext" style="float: left; padding-left:3ex">#ml_normal</span><br class="clear: left"/>
        </div>
        <div style="margin: 4px 0px 12px">
           <input class="radio" name="ptype" type="radio" value="con" checked="checked" /> #ml_console_prio_this:<br/>
           <b><span style="padding-left: 26px">local: </span><span id="local_addr" class="green"></span>
           <br/>
           <span style="padding-left: 26px">remote: </span><span id="remote_addr" class="green"></span></b><br/>
           <input class="radio" name="ptype" type="radio" value="prot" /> #ml_console_prio_prot: <b class="green"><span id="prot"></span></b><br/>
           <input class="radio" name="ptype" type="radio" value="prog" /> #ml_console_prio_prog: <b class="green"><span id="program"></span></b><br/>
           <input class="radio" name="ptype" type="radio" value="prog_prot" /> #ml_console_prio_prog_prot: <b class="green"><span id="program3"></span> / <span id="prot3"></span></b><br/>
        </div>
        <div class="buttons">
           <button onclick="apply_prioritization();">#ml_ok</button>
           <button onclick="close_prio_box();">#ml_console_cancel</button>
        </div>
        <div style="text-align:right; margin-top: 14px; color: #808080">#ml_console_prio_advanced:
           <a class="blue" href="priority.cfhta?protocols">#ml_protocols</a> /
           <a class="blue" href="priority.cfhta">#ml_programs</a>
        </div>
     </div>
  </div>
  <div id ="settings_frame_off" class="settings_frame">
     <div class="settings_box shadow" style="margin-top: 180px">
        <h1 style="margin-top: 0px">#ml_console_prio_off</h1>
        <div style="margin: 4px 0px 12px">
           <input class="radio" name="ptype_off" type="radio" value="con" checked="checked" /> #ml_console_prio_this_off:<br/>
           <b><span style="padding-left: 26px">local: </span><span id="local_addr_off" class="green"></span>
           <br/>
           <span style="padding-left: 26px">remote: </span><span id="remote_addr_off" class="green"></span></b><br/>
           <input class="radio" name="ptype_off" type="radio" value="prot" /> #ml_console_prio_prot_off: <b class="green"><span id="prot_off"></span></b><br/>
           <input class="radio" name="ptype_off" type="radio" value="prog" /> #ml_console_prio_prog_off: <b class="green"><span id="program_off"></span></b><br/>
           <input class="radio" name="ptype_off" type="radio" value="prog_prot" /> #ml_console_prio_prog_prot_off: <b class="green"><span id="program2_off"></span> / <span id="prot2_off"></span></b><br/>
        </div>
        <div class="buttons">
           <button onclick="apply_prioritization_off();">#ml_ok</button>
           <button onclick="close_prio_box();">#ml_console_cancel</button>
        </div>
     </div>
  </div>
</body>
</html>
